package com.bbzn.device.client.dao.leader;

import com.bbzn.device.client.dataobject.Leader;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LeaderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Leader record);

    int insertOrUpdate(Leader record);

    int insertOrUpdateSelective(Leader record);

    int insertSelective(Leader record);

    int selectCountBySelective(Leader record);

    int selectCountPrimaryKey(Long id);

    Leader selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Leader record);

    int updateByPrimaryKey(Leader record);

    List<Leader> findByAll(Leader leader);

    int updateBatch(List<Leader> list);

    int updateBatchSelective(List<Leader> list);

    int batchInsert(@Param("list") List<Leader> list);
}